<?php
include_once 'config.php';
class Order
{



//Database connect 
public function __construct() 
{
$db = new DB_Class();
}
//Registration process 

public function orderuser($uid,$name, $address, $tel, $remark,$price,$date,$delivery)
{

$result = mysql_query("INSERT INTO orders(User_id, User_name, User_address, User_tel, Order_remark, Order_price, Order_date, Order_delivery) values ('$uid','$name', '$address', '$tel', '$remark','$price','$date','$delivery')") or die(mysql_error());
return $result;

}
        

}
?>